package com.springboot.java.design.command;

/**
 * @Author: TongRui乀
 * @Date: 2019-12-16 16:10
 * @description：   具体的命令类
 */
public class WindowsCommand implements Command {

    private WindowsOperator operator;

    public WindowsCommand(){
        this.operator = new WindowsOperator();
    }

    @Override
    public void execute() {
        this.operator.open();
    }
}
